have (one's) cake and eat it too

Translations
пытаться усидеть на двух стульях
You can't have your cake and eat it too.
Нельзя усидеть на двух стульях.
Definitions
To have or enjoy two desirable but mutually exclusive things at the same time; to want to have the best of both worlds without making sacrifices.